package org.zhangsh.config;

import org.activiti.spring.SpringProcessEngineConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * spring-activiti属性配置</p>
 *
 * @author zhangsh
 * @version 1.0.0
 * @since 2019-01-04
 */
@Configuration
@EnableTransactionManagement
public class SpringActivitiConfig {

    public SpringActivitiConfig(SpringProcessEngineConfiguration configuration){

        configuration.setLabelFontName("宋体");
        configuration.setAnnotationFontName("宋体");
        configuration.setActivityFontName("宋体");

        configuration.setDatabaseType("mysql");
    }
}
